<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img {
            animation: car 5s;
        }

        @keyframes car {
            0% {
                transform: translateX(0);
            }

            50% {
                transform: translateX(1000px);
            }

            51% {
                transform: translateX(1000px) rotateY(-180deg);
            }

            99% {
                transform: translateX(0) rotateY(-180deg);
            }

        }
    </style>
</head>

<body>
    <img src="https://ss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=75483519,1703041790&fm=26&gp=0.jpg" alt=""
        srcset="">
</body>

</html>